package com.woniu.outlet.mysql.po;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.List;

public class PersonalIncomeMySQLExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public PersonalIncomeMySQLExample() {
        oredCriteria = new ArrayList<>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Long value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Long value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Long value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Long value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Long value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Long value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Long> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Long> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Long value1, Long value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Long value1, Long value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andUserIdIsNull() {
            addCriterion("user_id is null");
            return (Criteria) this;
        }

        public Criteria andUserIdIsNotNull() {
            addCriterion("user_id is not null");
            return (Criteria) this;
        }

        public Criteria andUserIdEqualTo(Long value) {
            addCriterion("user_id =", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotEqualTo(Long value) {
            addCriterion("user_id <>", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdGreaterThan(Long value) {
            addCriterion("user_id >", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdGreaterThanOrEqualTo(Long value) {
            addCriterion("user_id >=", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdLessThan(Long value) {
            addCriterion("user_id <", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdLessThanOrEqualTo(Long value) {
            addCriterion("user_id <=", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdIn(List<Long> values) {
            addCriterion("user_id in", values, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotIn(List<Long> values) {
            addCriterion("user_id not in", values, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdBetween(Long value1, Long value2) {
            addCriterion("user_id between", value1, value2, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotBetween(Long value1, Long value2) {
            addCriterion("user_id not between", value1, value2, "userId");
            return (Criteria) this;
        }

        public Criteria andProductTypeIsNull() {
            addCriterion("product_type is null");
            return (Criteria) this;
        }

        public Criteria andProductTypeIsNotNull() {
            addCriterion("product_type is not null");
            return (Criteria) this;
        }

        public Criteria andProductTypeEqualTo(String value) {
            addCriterion("product_type =", value, "productType");
            return (Criteria) this;
        }

        public Criteria andProductTypeNotEqualTo(String value) {
            addCriterion("product_type <>", value, "productType");
            return (Criteria) this;
        }

        public Criteria andProductTypeGreaterThan(String value) {
            addCriterion("product_type >", value, "productType");
            return (Criteria) this;
        }

        public Criteria andProductTypeGreaterThanOrEqualTo(String value) {
            addCriterion("product_type >=", value, "productType");
            return (Criteria) this;
        }

        public Criteria andProductTypeLessThan(String value) {
            addCriterion("product_type <", value, "productType");
            return (Criteria) this;
        }

        public Criteria andProductTypeLessThanOrEqualTo(String value) {
            addCriterion("product_type <=", value, "productType");
            return (Criteria) this;
        }

        public Criteria andProductTypeLike(String value) {
            addCriterion("product_type like", value, "productType");
            return (Criteria) this;
        }

        public Criteria andProductTypeNotLike(String value) {
            addCriterion("product_type not like", value, "productType");
            return (Criteria) this;
        }

        public Criteria andProductTypeIn(List<String> values) {
            addCriterion("product_type in", values, "productType");
            return (Criteria) this;
        }

        public Criteria andProductTypeNotIn(List<String> values) {
            addCriterion("product_type not in", values, "productType");
            return (Criteria) this;
        }

        public Criteria andProductTypeBetween(String value1, String value2) {
            addCriterion("product_type between", value1, value2, "productType");
            return (Criteria) this;
        }

        public Criteria andProductTypeNotBetween(String value1, String value2) {
            addCriterion("product_type not between", value1, value2, "productType");
            return (Criteria) this;
        }

        public Criteria andCodeIdIsNull() {
            addCriterion("code_id is null");
            return (Criteria) this;
        }

        public Criteria andCodeIdIsNotNull() {
            addCriterion("code_id is not null");
            return (Criteria) this;
        }

        public Criteria andCodeIdEqualTo(String value) {
            addCriterion("code_id =", value, "codeId");
            return (Criteria) this;
        }

        public Criteria andCodeIdNotEqualTo(String value) {
            addCriterion("code_id <>", value, "codeId");
            return (Criteria) this;
        }

        public Criteria andCodeIdGreaterThan(String value) {
            addCriterion("code_id >", value, "codeId");
            return (Criteria) this;
        }

        public Criteria andCodeIdGreaterThanOrEqualTo(String value) {
            addCriterion("code_id >=", value, "codeId");
            return (Criteria) this;
        }

        public Criteria andCodeIdLessThan(String value) {
            addCriterion("code_id <", value, "codeId");
            return (Criteria) this;
        }

        public Criteria andCodeIdLessThanOrEqualTo(String value) {
            addCriterion("code_id <=", value, "codeId");
            return (Criteria) this;
        }

        public Criteria andCodeIdLike(String value) {
            addCriterion("code_id like", value, "codeId");
            return (Criteria) this;
        }

        public Criteria andCodeIdNotLike(String value) {
            addCriterion("code_id not like", value, "codeId");
            return (Criteria) this;
        }

        public Criteria andCodeIdIn(List<String> values) {
            addCriterion("code_id in", values, "codeId");
            return (Criteria) this;
        }

        public Criteria andCodeIdNotIn(List<String> values) {
            addCriterion("code_id not in", values, "codeId");
            return (Criteria) this;
        }

        public Criteria andCodeIdBetween(String value1, String value2) {
            addCriterion("code_id between", value1, value2, "codeId");
            return (Criteria) this;
        }

        public Criteria andCodeIdNotBetween(String value1, String value2) {
            addCriterion("code_id not between", value1, value2, "codeId");
            return (Criteria) this;
        }

        public Criteria andConfirmDateIsNull() {
            addCriterion("confirm_date is null");
            return (Criteria) this;
        }

        public Criteria andConfirmDateIsNotNull() {
            addCriterion("confirm_date is not null");
            return (Criteria) this;
        }

        public Criteria andConfirmDateEqualTo(String value) {
            addCriterion("confirm_date =", value, "confirmDate");
            return (Criteria) this;
        }

        public Criteria andConfirmDateNotEqualTo(String value) {
            addCriterion("confirm_date <>", value, "confirmDate");
            return (Criteria) this;
        }

        public Criteria andConfirmDateGreaterThan(String value) {
            addCriterion("confirm_date >", value, "confirmDate");
            return (Criteria) this;
        }

        public Criteria andConfirmDateGreaterThanOrEqualTo(String value) {
            addCriterion("confirm_date >=", value, "confirmDate");
            return (Criteria) this;
        }

        public Criteria andConfirmDateLessThan(String value) {
            addCriterion("confirm_date <", value, "confirmDate");
            return (Criteria) this;
        }

        public Criteria andConfirmDateLessThanOrEqualTo(String value) {
            addCriterion("confirm_date <=", value, "confirmDate");
            return (Criteria) this;
        }

        public Criteria andConfirmDateLike(String value) {
            addCriterion("confirm_date like", value, "confirmDate");
            return (Criteria) this;
        }

        public Criteria andConfirmDateNotLike(String value) {
            addCriterion("confirm_date not like", value, "confirmDate");
            return (Criteria) this;
        }

        public Criteria andConfirmDateIn(List<String> values) {
            addCriterion("confirm_date in", values, "confirmDate");
            return (Criteria) this;
        }

        public Criteria andConfirmDateNotIn(List<String> values) {
            addCriterion("confirm_date not in", values, "confirmDate");
            return (Criteria) this;
        }

        public Criteria andConfirmDateBetween(String value1, String value2) {
            addCriterion("confirm_date between", value1, value2, "confirmDate");
            return (Criteria) this;
        }

        public Criteria andConfirmDateNotBetween(String value1, String value2) {
            addCriterion("confirm_date not between", value1, value2, "confirmDate");
            return (Criteria) this;
        }

        public Criteria andStartIncomeDateIsNull() {
            addCriterion("start_income_date is null");
            return (Criteria) this;
        }

        public Criteria andStartIncomeDateIsNotNull() {
            addCriterion("start_income_date is not null");
            return (Criteria) this;
        }

        public Criteria andStartIncomeDateEqualTo(String value) {
            addCriterion("start_income_date =", value, "startIncomeDate");
            return (Criteria) this;
        }

        public Criteria andStartIncomeDateNotEqualTo(String value) {
            addCriterion("start_income_date <>", value, "startIncomeDate");
            return (Criteria) this;
        }

        public Criteria andStartIncomeDateGreaterThan(String value) {
            addCriterion("start_income_date >", value, "startIncomeDate");
            return (Criteria) this;
        }

        public Criteria andStartIncomeDateGreaterThanOrEqualTo(String value) {
            addCriterion("start_income_date >=", value, "startIncomeDate");
            return (Criteria) this;
        }

        public Criteria andStartIncomeDateLessThan(String value) {
            addCriterion("start_income_date <", value, "startIncomeDate");
            return (Criteria) this;
        }

        public Criteria andStartIncomeDateLessThanOrEqualTo(String value) {
            addCriterion("start_income_date <=", value, "startIncomeDate");
            return (Criteria) this;
        }

        public Criteria andStartIncomeDateLike(String value) {
            addCriterion("start_income_date like", value, "startIncomeDate");
            return (Criteria) this;
        }

        public Criteria andStartIncomeDateNotLike(String value) {
            addCriterion("start_income_date not like", value, "startIncomeDate");
            return (Criteria) this;
        }

        public Criteria andStartIncomeDateIn(List<String> values) {
            addCriterion("start_income_date in", values, "startIncomeDate");
            return (Criteria) this;
        }

        public Criteria andStartIncomeDateNotIn(List<String> values) {
            addCriterion("start_income_date not in", values, "startIncomeDate");
            return (Criteria) this;
        }

        public Criteria andStartIncomeDateBetween(String value1, String value2) {
            addCriterion("start_income_date between", value1, value2, "startIncomeDate");
            return (Criteria) this;
        }

        public Criteria andStartIncomeDateNotBetween(String value1, String value2) {
            addCriterion("start_income_date not between", value1, value2, "startIncomeDate");
            return (Criteria) this;
        }

        public Criteria andHoldShareIsNull() {
            addCriterion("hold_share is null");
            return (Criteria) this;
        }

        public Criteria andHoldShareIsNotNull() {
            addCriterion("hold_share is not null");
            return (Criteria) this;
        }

        public Criteria andHoldShareEqualTo(BigDecimal value) {
            addCriterion("hold_share =", value, "holdShare");
            return (Criteria) this;
        }

        public Criteria andHoldShareNotEqualTo(BigDecimal value) {
            addCriterion("hold_share <>", value, "holdShare");
            return (Criteria) this;
        }

        public Criteria andHoldShareGreaterThan(BigDecimal value) {
            addCriterion("hold_share >", value, "holdShare");
            return (Criteria) this;
        }

        public Criteria andHoldShareGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("hold_share >=", value, "holdShare");
            return (Criteria) this;
        }

        public Criteria andHoldShareLessThan(BigDecimal value) {
            addCriterion("hold_share <", value, "holdShare");
            return (Criteria) this;
        }

        public Criteria andHoldShareLessThanOrEqualTo(BigDecimal value) {
            addCriterion("hold_share <=", value, "holdShare");
            return (Criteria) this;
        }

        public Criteria andHoldShareIn(List<BigDecimal> values) {
            addCriterion("hold_share in", values, "holdShare");
            return (Criteria) this;
        }

        public Criteria andHoldShareNotIn(List<BigDecimal> values) {
            addCriterion("hold_share not in", values, "holdShare");
            return (Criteria) this;
        }

        public Criteria andHoldShareBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("hold_share between", value1, value2, "holdShare");
            return (Criteria) this;
        }

        public Criteria andHoldShareNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("hold_share not between", value1, value2, "holdShare");
            return (Criteria) this;
        }

        public Criteria andTodayValuationIsNull() {
            addCriterion("today_valuation is null");
            return (Criteria) this;
        }

        public Criteria andTodayValuationIsNotNull() {
            addCriterion("today_valuation is not null");
            return (Criteria) this;
        }

        public Criteria andTodayValuationEqualTo(String value) {
            addCriterion("today_valuation =", value, "todayValuation");
            return (Criteria) this;
        }

        public Criteria andTodayValuationNotEqualTo(String value) {
            addCriterion("today_valuation <>", value, "todayValuation");
            return (Criteria) this;
        }

        public Criteria andTodayValuationGreaterThan(String value) {
            addCriterion("today_valuation >", value, "todayValuation");
            return (Criteria) this;
        }

        public Criteria andTodayValuationGreaterThanOrEqualTo(String value) {
            addCriterion("today_valuation >=", value, "todayValuation");
            return (Criteria) this;
        }

        public Criteria andTodayValuationLessThan(String value) {
            addCriterion("today_valuation <", value, "todayValuation");
            return (Criteria) this;
        }

        public Criteria andTodayValuationLessThanOrEqualTo(String value) {
            addCriterion("today_valuation <=", value, "todayValuation");
            return (Criteria) this;
        }

        public Criteria andTodayValuationLike(String value) {
            addCriterion("today_valuation like", value, "todayValuation");
            return (Criteria) this;
        }

        public Criteria andTodayValuationNotLike(String value) {
            addCriterion("today_valuation not like", value, "todayValuation");
            return (Criteria) this;
        }

        public Criteria andTodayValuationIn(List<String> values) {
            addCriterion("today_valuation in", values, "todayValuation");
            return (Criteria) this;
        }

        public Criteria andTodayValuationNotIn(List<String> values) {
            addCriterion("today_valuation not in", values, "todayValuation");
            return (Criteria) this;
        }

        public Criteria andTodayValuationBetween(String value1, String value2) {
            addCriterion("today_valuation between", value1, value2, "todayValuation");
            return (Criteria) this;
        }

        public Criteria andTodayValuationNotBetween(String value1, String value2) {
            addCriterion("today_valuation not between", value1, value2, "todayValuation");
            return (Criteria) this;
        }

        public Criteria andTotalPrincipalIsNull() {
            addCriterion("total_principal is null");
            return (Criteria) this;
        }

        public Criteria andTotalPrincipalIsNotNull() {
            addCriterion("total_principal is not null");
            return (Criteria) this;
        }

        public Criteria andTotalPrincipalEqualTo(BigDecimal value) {
            addCriterion("total_principal =", value, "totalPrincipal");
            return (Criteria) this;
        }

        public Criteria andTotalPrincipalNotEqualTo(BigDecimal value) {
            addCriterion("total_principal <>", value, "totalPrincipal");
            return (Criteria) this;
        }

        public Criteria andTotalPrincipalGreaterThan(BigDecimal value) {
            addCriterion("total_principal >", value, "totalPrincipal");
            return (Criteria) this;
        }

        public Criteria andTotalPrincipalGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("total_principal >=", value, "totalPrincipal");
            return (Criteria) this;
        }

        public Criteria andTotalPrincipalLessThan(BigDecimal value) {
            addCriterion("total_principal <", value, "totalPrincipal");
            return (Criteria) this;
        }

        public Criteria andTotalPrincipalLessThanOrEqualTo(BigDecimal value) {
            addCriterion("total_principal <=", value, "totalPrincipal");
            return (Criteria) this;
        }

        public Criteria andTotalPrincipalIn(List<BigDecimal> values) {
            addCriterion("total_principal in", values, "totalPrincipal");
            return (Criteria) this;
        }

        public Criteria andTotalPrincipalNotIn(List<BigDecimal> values) {
            addCriterion("total_principal not in", values, "totalPrincipal");
            return (Criteria) this;
        }

        public Criteria andTotalPrincipalBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("total_principal between", value1, value2, "totalPrincipal");
            return (Criteria) this;
        }

        public Criteria andTotalPrincipalNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("total_principal not between", value1, value2, "totalPrincipal");
            return (Criteria) this;
        }

        public Criteria andTotalIncomeIsNull() {
            addCriterion("total_income is null");
            return (Criteria) this;
        }

        public Criteria andTotalIncomeIsNotNull() {
            addCriterion("total_income is not null");
            return (Criteria) this;
        }

        public Criteria andTotalIncomeEqualTo(BigDecimal value) {
            addCriterion("total_income =", value, "totalIncome");
            return (Criteria) this;
        }

        public Criteria andTotalIncomeNotEqualTo(BigDecimal value) {
            addCriterion("total_income <>", value, "totalIncome");
            return (Criteria) this;
        }

        public Criteria andTotalIncomeGreaterThan(BigDecimal value) {
            addCriterion("total_income >", value, "totalIncome");
            return (Criteria) this;
        }

        public Criteria andTotalIncomeGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("total_income >=", value, "totalIncome");
            return (Criteria) this;
        }

        public Criteria andTotalIncomeLessThan(BigDecimal value) {
            addCriterion("total_income <", value, "totalIncome");
            return (Criteria) this;
        }

        public Criteria andTotalIncomeLessThanOrEqualTo(BigDecimal value) {
            addCriterion("total_income <=", value, "totalIncome");
            return (Criteria) this;
        }

        public Criteria andTotalIncomeIn(List<BigDecimal> values) {
            addCriterion("total_income in", values, "totalIncome");
            return (Criteria) this;
        }

        public Criteria andTotalIncomeNotIn(List<BigDecimal> values) {
            addCriterion("total_income not in", values, "totalIncome");
            return (Criteria) this;
        }

        public Criteria andTotalIncomeBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("total_income between", value1, value2, "totalIncome");
            return (Criteria) this;
        }

        public Criteria andTotalIncomeNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("total_income not between", value1, value2, "totalIncome");
            return (Criteria) this;
        }

        public Criteria andStatusIsNull() {
            addCriterion("status is null");
            return (Criteria) this;
        }

        public Criteria andStatusIsNotNull() {
            addCriterion("status is not null");
            return (Criteria) this;
        }

        public Criteria andStatusEqualTo(Integer value) {
            addCriterion("status =", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotEqualTo(Integer value) {
            addCriterion("status <>", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThan(Integer value) {
            addCriterion("status >", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThanOrEqualTo(Integer value) {
            addCriterion("status >=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThan(Integer value) {
            addCriterion("status <", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThanOrEqualTo(Integer value) {
            addCriterion("status <=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusIn(List<Integer> values) {
            addCriterion("status in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotIn(List<Integer> values) {
            addCriterion("status not in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusBetween(Integer value1, Integer value2) {
            addCriterion("status between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotBetween(Integer value1, Integer value2) {
            addCriterion("status not between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andRevocationShareIsNull() {
            addCriterion("revocation_share is null");
            return (Criteria) this;
        }

        public Criteria andRevocationShareIsNotNull() {
            addCriterion("revocation_share is not null");
            return (Criteria) this;
        }

        public Criteria andRevocationShareEqualTo(BigDecimal value) {
            addCriterion("revocation_share =", value, "revocationShare");
            return (Criteria) this;
        }

        public Criteria andRevocationShareNotEqualTo(BigDecimal value) {
            addCriterion("revocation_share <>", value, "revocationShare");
            return (Criteria) this;
        }

        public Criteria andRevocationShareGreaterThan(BigDecimal value) {
            addCriterion("revocation_share >", value, "revocationShare");
            return (Criteria) this;
        }

        public Criteria andRevocationShareGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("revocation_share >=", value, "revocationShare");
            return (Criteria) this;
        }

        public Criteria andRevocationShareLessThan(BigDecimal value) {
            addCriterion("revocation_share <", value, "revocationShare");
            return (Criteria) this;
        }

        public Criteria andRevocationShareLessThanOrEqualTo(BigDecimal value) {
            addCriterion("revocation_share <=", value, "revocationShare");
            return (Criteria) this;
        }

        public Criteria andRevocationShareIn(List<BigDecimal> values) {
            addCriterion("revocation_share in", values, "revocationShare");
            return (Criteria) this;
        }

        public Criteria andRevocationShareNotIn(List<BigDecimal> values) {
            addCriterion("revocation_share not in", values, "revocationShare");
            return (Criteria) this;
        }

        public Criteria andRevocationShareBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("revocation_share between", value1, value2, "revocationShare");
            return (Criteria) this;
        }

        public Criteria andRevocationShareNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("revocation_share not between", value1, value2, "revocationShare");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {
        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}